ARM: GICv3 ITS: map ITS command buffer
authorAndre Przywara <andre.przywara@arm.com>
Fri, 7 Apr 2017 22:07:57 +0000 (23:07 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 7 Apr 2017 22:15:45 +0000 (15:15 -0700)
commit8ed8d21373bef3ea9ddc9d8594ad71aa1b0788f1
treeef72ab20e4edbffe59beb25a51621d03dd2cca80
parent05238012b86d7b9072b65533b5a37a302e69949a
ARM: GICv3 ITS: map ITS command buffer

Instead of directly manipulating the tables in memory, an ITS driver
sends commands via a ring buffer in normal system memory to the ITS h/w
to create or alter the LPI mappings.
Allocate memory for that buffer and tell the ITS about it to be able
to send ITS commands.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/gic-v3-its.c
xen/include/asm-arm/gic_v3_its.h